package com.one.common.model.http;

/**
 * Created by jiejing on 2017/8/18.
 * 各种错误码
 */

public class ErrorConstant {
    //APP自定义错误码
    public static final String APP_ERROR_TIMEOUT = "APP_ERROR_TIMEOUT";//超时
    public static final String APP_ERROR_HTTPEXCEPTION = "APP_ERROR_HTTPEXCEPTION";//服务端异常
    public static final String APP_ERROR_FAIL = "APP_ERROR_FAIL";//请求服务端失败

    //服务端返回

    public static final String E_100 = "100";   // 会话不存在!请联系系统管理员
    public static final String E_101 = "101";   // 请求头缺少字段![mobile]
    public static final String E_102 = "102";   // 请求头缺少字段![imei]
    public static final String E_103 = "103";   // 会话错误,请联系系统管理员
    public static final String E_104 = "104";   // 会话已过期
    public static final String E_105 = "105";   // 请求头缺少字段![destination]
    public static final String E_106 = "106";   // 请求不存在！

    public static final String LOGIN_OUT_TIME = "token failed";   // 登录信息失效，请重新登录!
}
